/*
 * $Id: LocaleModel.java 136 2009-07-16 07:53:43Z donbeave $
 */

package labour.concept.client.data;

@SuppressWarnings("serial")
public class LocaleModel extends IdModel {

  public static final String LANGUAGE = "Language";
  public static final String ABBREVIATION = "Abbr";
  public static final String CHARSET = "Charset";
  public static final String SORT_ORDER = "SortOrder";

  public String getId() {
    return get(ID);
  }

  public String getLanguage() {
    return get(LANGUAGE);
  }

  public void setLanguage(String language) {
    set(LANGUAGE, language);
  }

  public String getAbbreviation() {
    return get(ABBREVIATION);
  }

  public void setAbbreviation(String abbr) {
    set(ABBREVIATION, abbr);
  }

  public String getCharset() {
    return get(CHARSET);
  }

  public void setCharset(String charset) {
    set(CHARSET, charset);
  }

  public int getSortOrder() {
    return (Integer) get(SORT_ORDER);
  }

}
